//package com.cx.postprocesser;
//
//import org.springframework.beans.BeansException;
//import org.springframework.beans.factory.config.BeanPostProcessor;
//import org.springframework.stereotype.Component;
//
//import javax.annotation.PostConstruct;
//
///**
// * @Author:cxy
// * @Date:2022/2/9 21:46
// */
//@Component
//public class MyBeanPostProcesser implements BeanPostProcessor {
//
//    @PostConstruct
//    public void init(){
//        System.out.println("MyBeanPostProcesser===PostConstruct ==== ");
//    }
//
//
//
//    @Override
//    public Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException {
//        System.out.println("==========postProcessBeforeInitialization"+beanName);
//        return bean;
//    }
//
//    @Override
//    public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException {
//        System.out.println("==========postProcessAfterInitialization"+beanName);
//        return bean;
//    }
//}
